package com.slz3.business.module.memberManagement.memPoint.service;

import com.slz3.business.module.memberManagement.memPoint.domain.MemPoint;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface MemPointService {

    MemPoint save(MemPoint memPoint);

    Page<MemPoint> page(MultiValueMap<String,String> queryParams);

    MemPoint modify(MemPoint memPoint);

    Optional<MemPoint> single(UUID uuid);

    List<MemPoint> findAllByUuids(Iterable<UUID> uuids);

    List<MemPoint> delete(List<MemPoint> memPointList);

}
